package com.example.prison.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName use_car_management
 */
@TableName(value ="use_car_management")
@Data
public class UseCarManagement implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 车牌号
     */
    @TableField(value = "car_number")
    private String carNumber;

    /**
     * 使用人
     */
    @TableField(value = "use_people")
    private String usePeople;

    /**
     * 部门
     */
    @TableField(value = "depart")
    private String depart;

    /**
     * 用车原因
     */
    @TableField(value = "use_reason")
    private String useReason;

    /**
     * 用车范围
     */
    @TableField(value = "use_range")
    private String useRange;

    /**
     * 使用状态
     */
    @TableField(value = "use_status")
    private String useStatus;

    /**
     * 使用时间
     */
    @TableField(value = "use_time")
    private String useTime;

    /**
     * 返回时间
     */
    @TableField(value = "end_time")
    private String endTime;

    /**
     * 状态（0未审批1已审批）
     */
    @TableField(value = "status")
    private String status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
